package is.common.interfaces.mvc;

/**
 * UI functions unification
 *
 * @author aspr0
 *         Date: 05.04.12
 *         Time: 16:27
 */
public interface UserInterface
{
    /**
     * @param msg  message
     * @param subs substrings inserted instead of %s markers in msg
     */
    public void exposeInfoMsg(String msg, Object... subs);

    /**
     * @param msg  message
     * @param subs substrings inserted instead of %s markers in msg
     */
    public void exposeWarnMsg(String msg, Object... subs);

    /**
     * @param msg  message
     * @param subs substrings inserted instead of %s markers in msg
     */
    public void exposeErrMsg(String msg, Object... subs);

    /**
     * @param sectionNum
     * @param header
     * @param rows
     */
    public void exposeRows(int sectionNum, String[] header, String[][] rows);

    public void exposeConnectionEstablished();

    public void exposeConnectionBroken();
}
